# -*- coding: UTF-8 -*- 
import time,random,re,logging,os,getpass,sys,urllib2,urllib
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
import PyQt4.QtNetwork
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.keys import Keys  #需要引入keys包
from urlparse import urlparse
import datetime,cookielib
from StringIO import StringIO
import gzip,json
import DarenImage


a = '{"status":"0","id":"6","title":"test最麻花短款套头开叉毛衣","coverUrl":"http://grapp.qianfuzhang.com/public/uploads/images/1125376287.jpg","nodes":[{"itemId":"521063803830","content":"在粗棒、提花、平针等多种针织手法变化的特性下，形成立体层次感，时髦有个性。底边开衩注入新颖设计令单品尤显别致时尚减龄。 "}],"tags":"毛衣","inTimeLine":false,"showpc":false,"feedPublishVOs":[{"channelId":"default","activityId":"0"}],"_tb_token_":"123"}'

#print re.compile('"path":"*"',a)

r1 = re.compile('"id":"(.+?)"')
arr = re.findall(r1, a)


url      = "http://grapp.qianfuzhang.com/index/inlet/proving/signtaobao/type/0/id/5"
response = urllib2.urlopen(url) 
html = response.read()
print html

